import React from 'react'
import axios from 'axios'
import {WingBlank, Card, WhiteSpace} from 'antd-mobile'
import {connect} from 'react-redux'
import {getUserList} from '../../redux/chatuser.redux' 
import UserCard from '../usercard/usercard'

@connect (
	state => state.chatuser,
	{getUserList}
)
export default class Boss extends React.Component {

	componentDidMount () {
		this.props.getUserList('genius');
	}

	render () {		
		return (
			<UserCard userList={this.props.userList} ></UserCard>
		)
	}
}